﻿package mortal.game.view.mainUI.avatar
{
    import mortal.game.resource.tableConfig.*;

    public class PetEntityAvatar extends BaseAvater
    {

        public function PetEntityAvatar()
        {
            return;
        }// end function

        override public function updateAvatar() : void
        {
            if (_entityInfo)
            {
                _avatar.bitmapData = null;
                _avatar.imgUrl = PetConfig.instance.getInfoByCode(_entityInfo.entityInfo.code).avatar + ".png";
            }
            return;
        }// end function

    }
}
